package com.chuhe.lottery.exception;

import lombok.extern.slf4j.Slf4j;

/**
 * @Author: 楚河
 * @Date: 2025年04月19日17:28
 */
@Slf4j
public class MyUncaughtExceptionHandler implements Thread.UncaughtExceptionHandler{

    @Override
    public void uncaughtException(Thread t, Throwable e) {
        log.error("Exception in thread name:" + t.getName(),e);
    }
}
